package com.sunny.design.template.simple;

/**
 * @author Sunny
 * @date 2020/1/9 23:00
 */
public class PythonCourse extends Course {

    /**
     * 控制执行流程, 需要检查作业
     */
    @Override
    protected boolean hasHomework() {
        return true;
    }

    @Override
    protected void checkHomework() {
        System.out.println("检查Python作业");
    }
}
